import 'package:p_location/home/obj/area_detail_info_item.dart';

class TabSingleAreaInfoRes {
    AreaDetailInfoItem data;
    int code;

    TabSingleAreaInfoRes({this.data, this.code});

    factory TabSingleAreaInfoRes.fromJson(Map<String, dynamic> json) {
        return TabSingleAreaInfoRes(
            data: json['data'] != null ? AreaDetailInfoItem.fromJson(json['data']) : null,
            code: json['code'], 
        );
    }

}